package com.zhike.mapper;

import com.zhike.domain.DwsTripBtWindow;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.MapKey;

import java.util.List;
import java.util.Map;

/**
* @author ASUS
* @description 针对表【dws_trip_bt_window(车型品牌行驶表)】的数据库操作Mapper
* @createDate 2024-05-01 15:26:20
* @Entity com.zhike.domain.DwsTripBtWindow
*/
public interface DwsTripBtWindowMapper extends BaseMapper<DwsTripBtWindow> {

    @MapKey("date")
    List<Map> getAvgTypeToday(String date);

    @MapKey("date")
    List<Map> getCountTypeToday(String date);

    @MapKey("date")
    List<Map> getAvgBrandToday(String date);

    @MapKey("date")
    List<Map> getCountBrandToday(String date);

    @MapKey("date")
    List<Map> getAvgTypeWeek(String date);

    @MapKey("date")
    List<Map> getCountTypeWeek(String date);

    @MapKey("date")
    List<Map> getAvgBrandWeek(String date);

    @MapKey("date")
    List<Map> getCountBrandWeek(String date);
}




